<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>菜鸟教程(runoob.com)</title>
    <script src="../js/vue.min.js"></script>
</head>
<body>
<div id="app">
    <input type="checkbox" v-model="allSelected"  @click="getChecked" >Select All  {{allSelected}}
<div v-for="todo in todos">
        <input v-model="ischeckdate" type="checkbox"  :value=todo.id> {{todo.id}} {{todo.text}}
</div>

    <pre>{{ ischeckdate | json }}</pre>

</div>
<!-- JavaScript 代码需要放在尾部（指定的HTML元素之后） -->
<script src="./js/vueapp.js"></script>
</body>
</html>
